<?php
/*
  -----------------------------------------------------------------
  Copyright (c) 2010 25Solutions   All Rights Reserved.

  This software is the confidential and proprietary information
  of 25Solutions ("Confidential Information").
  You shall not disclose such Confidential Information and shall
  use it only in accordance with the terms of the license
  agreement you entered into with 25Solutions
  -----------------------------------------------------------------
*/

include(dirname(__FILE__).'/../../bootstrap/Doctrine.php');

$t = new lime_test(1);

$template = Doctrine_Core::getTable('Template')->findOneByName('wai-fai alberghi natale 2010');
$links = $template->getNormalLinks();
$t->ok(sizeof($links)>0, 'getNormalLinks() return the Template standard link(s)');